PPPPYYYYMMMM____PPPPOOOOIIIINNNNTTTT, draw only points at the vertices.
PPPPYYYYMMMM____LLLLIIIINNNNEEEE, draw lines from vertex to vertex.
PPPPYYYYMMMM____FFFFIIIILLLLLLLL, fill the polygon interior.
PPPPYYYYMMMM____HHHHOOOOLLLLLLLLOOOOWWWW, fill only interior pixels at the boundaries.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ppppoooollllyyyymmmmooooddddeeee specifies whether polygons are filled, outlined, drawn with
points at their vertices, or outlined with a hollow fill algorithm.
Affected polygons include all polygons that are normally filled,
including those generated by bbbbggggnnnnppppoooollllyyyyggggoooonnnn and eeeennnnddddppppoooollllyyyyggggoooonnnn, by bbbbggggnnnnttttmmmmeeeesssshhhh and
eeeennnnddddttttmmmmeeeesssshhhh, by bbbbggggnnnnqqqqssssttttrrrriiiipppp and eeeennnnddddqqqqssssttttrrrriiiipppp, by aaaarrrrccccffff, cccciiiirrrrccccffff, and rrrreeeeccccttttffff, and by
NURBS surfaces. Also affected are polygons generated by the obsolete
ppppmmmmvvvv, ppppddddrrrr, and ppppcccclllloooossss commands, and by ppppoooollllffff and ssssppppoooollllffff.
PPPPYYYYMMMM____FFFFIIIILLLLLLLL is the default mode. In this mode polygons are filled with a
point-sample algorithm. (Refer to the Graphics Library Programmer's
Guide for an detailed explanation of point-sampling.)
PPPPYYYYMMMM____PPPPOOOOIIIINNNNTTTT causes a single point to be drawn at each polygon vertex,
including vertices generated by clipping. All point rendering modes,
including antialiasing specified by ppppnnnnttttssssmmmmooooooootttthhhh, apply to these points.
PPPPYYYYMMMM____LLLLIIIINNNNEEEE causes lines to be drawn from vertex to vertex around the
perimeter of the polygon. This line forms a single outline, because it
passes through both projected vertices and vertices generated by
clipping. All line rendering modes, including line width, line stipple
style, and line antialiasing specified by lllliiiinnnneeeessssmmmmooooooootttthhhh, apply to these
lines.
PPPPYYYYMMMM____HHHHOOOOLLLLLLLLOOOOWWWW supports a special kind of polygon fill with the following
properties:
1. Only pixels on the polygon edge are filled. These pixels form a
single-width line (regardless of the current lllliiiinnnneeeewwwwiiiiddddtttthhhh) around the
inner perimeter of the polygon.
2. Only pixels that would have been filled (PPPPYYYYMMMM____FFFFIIIILLLLLLLL) are changed (i.e.
the outline does not extend beyond the exact polygon boundary).